path_flip

Flips the given path along the horizontal axis with respect to its center.

语法:

path_flip(index);


参数 描述
index The index of the path to flip.


返回: N/A(无返回值)


描述

This function takes all the path points and flips them along the horizontal axis. This function changes the actual path resource, and so will permanently affect how the path is used by all instances in the game from the moment the function is used until the end of the game.




例如:

path_flip(mypath);

This would flip "mypath" along the horizontal axis.


上一页: Changing Paths
下一页: path_mirror
© Copyright YoYo Games Ltd. 2018 All Rights Reserved